package com.atsmart.app.exception;

import java.io.Serializable;

import com.google.json.Gson;

public class GlobalExceptionInfo implements Serializable {
    private static final long serialVersionUID = 3131867918675880691L;
    public String FilesPath;
    public String AppVersion;
    public String AppPacekage;
    public String ActivityName;
    public String PhoneModel;
    public String AndroidVersion;
    public String StackTraceMassage;

    public GlobalExceptionInfo() {
        AppVersion = "unknown";
        AppPacekage = "unknown";
        PhoneModel = "unknown";
        AndroidVersion = "unknown";
    }

    public String toJson() {
        Gson gson = new Gson();
        return gson.toJson(this);
    }
}
